import request from "@/utils/request";

// 获取品牌列表
export const reqTMList = (page, limit) => {
  return request.get(`/admin/product/baseTrademark/${page}/${limit} `);
};

// 新增品牌
export const reqAddTM = (tmInfo) => {
  return request.post('/admin/product/baseTrademark/save',tmInfo)
}

// 修改品牌
export const reqUpdateTM = (tmInfo) => {
  return request.put('/admin/product/baseTrademark/update',tmInfo)
}

// 删除品牌
export const reqDelTM = (id) => {
  return request.delete(`/admin/product/baseTrademark/remove/${id}`)
}
